package com.example.springkotlin.utilimport com.baomidou.mybatisplus.extension.plugins.PaginationInterceptorimport org.mybatis.spring.annotation.MapperScanimport org.springframework.context.annotation.Beanimport org.springframework.context.annotation.Configuration//import com.baomidou.mybatisplus.extension.plugins.PaginationInterceptor//import org.mybatis.spring.annotation.MapperScan//import org.springframework.context.annotation.Bean//import org.springframework.context.annotation.Configuration@Configuration@MapperScan("com.example.springkotlin.mybatis.*")//扫描文件class MybatisPlusConfig {    /*     * 分页插件，自动识别数据库类型     * 多租户，请参考官网【插件扩展】     */    @Bean    fun paginationInterceptor(): PaginationInterceptor {        return PaginationInterceptor();    }}